<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form th:action="@{/register}" th:object="${user}" method="post">
		<table border="1">
			<tr>
				<td>用户名:<input type="text" name="username"></td>
			</tr>
			<tr>
				<td>密&nbsp;&nbsp;码<input type="password" name="password"></td>
			</tr>
			<tr>
				<td><input type="submit" value="注册"></td>
			</tr>
		</table>
	</form>

</body>
</html>